#pragma once

#include <grpc++/grpc++.h>
#include "../../proto/rpc.grpc.pb.h"
#include "../v3Response.hpp"


using grpc::ClientAsyncResponseReader;
using etcdserverpb::RangeResponse;

namespace etcdv3 {
class AsyncRangeResponse : public V3Response {
public:
    AsyncRangeResponse() {};
    void ParseResponse(RangeResponse& resp, bool prefix = false);
};

}
